package com.ydh.company.pojo;


import io.swagger.annotations.ApiModelProperty;

public class Stock {
  @ApiModelProperty(name = "stockId",notes = "库存id",dataType = "string",required = false)
  private String stockId;
  @ApiModelProperty(name = "goodsId",notes = "商品id",dataType = "string",required = true)
  private String goodsId;
  @ApiModelProperty(name = "repositoryId",notes = "仓库id",dataType = "string",required = true)
  private String repositoryId;
  @ApiModelProperty(name = "stockMax",notes = "库存上限",dataType = "long",required = true)
  private Long stockMax;
  @ApiModelProperty(name = "stockMin",notes = "库存下限",dataType = "long",required = true)
  private Long stockMin;
  @ApiModelProperty(name = "preOrderNumber",notes = "预购量",dataType = "long",required = true)
  private Long preOrderNumber;
  @ApiModelProperty(name = "loadNumber",notes = "在途量",dataType = "long",required = true)
  private Long loadNumber;
  @ApiModelProperty(name = "stockNumber",notes = "库存量",dataType = "long",required = true)
  private Long stockNumber;
  @ApiModelProperty(name = "availableStockNumber",notes = "可用库存量",dataType = "long",required = true)
  private Long availableStockNumber;
  private Goods goods;
  private Repository repository;


  private String oddNumbers;
  public Goods getGoods() {
    return goods;
  }
  public void setGoods(Goods goods) {
    this.goods = goods;
  }

  public Repository getRepository() {
    return repository;
  }

  public void setRepository(Repository repository) {
    this.repository = repository;
  }

  public String getStockId() {
    return stockId;
  }

  public void setStockId(String stockId) {
    this.stockId = stockId;
  }


  public String getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(String goodsId) {
    this.goodsId = goodsId;
  }


  public String getRepositoryId() {
    return repositoryId;
  }

  public void setRepositoryId(String repositoryId) {
    this.repositoryId = repositoryId;
  }


  public Long getStockMax() {
    return stockMax;
  }

  public void setStockMax(Long stockMax) {
    this.stockMax = stockMax;
  }


  public Long getStockMin() {
    return stockMin;
  }

  public void setStockMin(Long stockMin) {
    this.stockMin = stockMin;
  }


  public Long getPreOrderNumber() {
    return preOrderNumber;
  }

  public void setPreOrderNumber(Long preOrderNumber) {
    this.preOrderNumber = preOrderNumber;
  }


  public Long getLoadNumber() {
    return loadNumber;
  }

  public void setLoadNumber(Long loadNumber) {
    this.loadNumber = loadNumber;
  }


  public Long getStockNumber() {
    return stockNumber;
  }

  public void setStockNumber(Long stockNumber) {
    this.stockNumber = stockNumber;
  }


  public Long getAvailableStockNumber() {
    return availableStockNumber;
  }

  public void setAvailableStockNumber(Long availableStockNumber) {
    this.availableStockNumber = availableStockNumber;
  }

  public String getOddNumbers() {
    return oddNumbers;
  }

  public void setOddNumbers(String oddNumbers) {
    this.oddNumbers = oddNumbers;
  }
}
